package com.pkdl.forms;

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;

import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JSplitPane;
import javax.swing.JTable;
import javax.swing.JTextField;
import javax.swing.WindowConstants;

@SuppressWarnings("serial")
public class DlgHoSoBenhAn extends JDialog {
	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		try {
			DlgHoSoBenhAn dialog = new DlgHoSoBenhAn();
			dialog.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
			dialog.setVisible(true);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	private JTextField textField;
	private JTextField textField_1;
	private JTable table;

	private JTable table_1;

	/**
	 * Create the dialog.
	 */
	public DlgHoSoBenhAn() {
		this.setTitle("Ho so benh an");
		this.setBounds(100, 100, 958, 555);
		this.setLocationRelativeTo(null);
		this.getContentPane().setLayout(new BorderLayout(0, 0));

		JSplitPane splitPane = new JSplitPane();
		this.getContentPane().add(splitPane, BorderLayout.CENTER);

		JPanel panel = new JPanel();
		panel.setPreferredSize(new Dimension(350, 10));
		splitPane.setLeftComponent(panel);
		panel.setLayout(new BorderLayout(0, 0));

		JPanel panel_3 = new JPanel();
		panel_3.setPreferredSize(new Dimension(10, 100));
		panel.add(panel_3, BorderLayout.NORTH);
		panel_3.setLayout(null);

		JLabel lblMBnhNhn = new JLabel("M\u00E3 b\u1EC7nh nh\u00E2n");
		lblMBnhNhn.setBounds(10, 14, 85, 14);
		panel_3.add(lblMBnhNhn);

		this.textField = new JTextField();
		this.textField.setColumns(10);
		this.textField.setBounds(105, 11, 157, 20);
		panel_3.add(this.textField);

		JButton button = new JButton("Ch\u1ECDn");
		button.setBounds(272, 10, 68, 23);
		panel_3.add(button);

		JLabel lblTnBnhNhn = new JLabel("T\u00EAn b\u1EC7nh nh\u00E2n");
		lblTnBnhNhn.setBounds(10, 42, 85, 14);
		panel_3.add(lblTnBnhNhn);

		this.textField_1 = new JTextField();
		this.textField_1.setColumns(10);
		this.textField_1.setBounds(105, 39, 235, 20);
		panel_3.add(this.textField_1);

		JLabel lblDanhSchBnh = new JLabel("Danh s\u00E1ch b\u1EC7nh \u00E1n");
		lblDanhSchBnh.setBounds(10, 75, 127, 14);
		panel_3.add(lblDanhSchBnh);

		JPanel panel_5 = new JPanel();
		panel.add(panel_5, BorderLayout.CENTER);
		panel_5.setLayout(new BorderLayout(0, 0));

		JScrollPane scrollPane_2 = new JScrollPane();
		panel_5.add(scrollPane_2);

		this.table_1 = new JTable();
		scrollPane_2.setViewportView(this.table_1);

		JPanel panel_1 = new JPanel();
		splitPane.setRightComponent(panel_1);
		panel_1.setLayout(new BorderLayout(0, 0));

		JPanel panel_2 = new JPanel();
		panel_2.setPreferredSize(new Dimension(10, 32));
		panel_1.add(panel_2, BorderLayout.NORTH);

		JLabel lblLpPhiuKhm = new JLabel("H\u1ED3 s\u01A1 b\u1EC7nh \u00E1n");
		lblLpPhiuKhm.setForeground(new Color(0, 128, 0));
		lblLpPhiuKhm.setFont(new Font("Tahoma", Font.BOLD, 18));
		panel_2.add(lblLpPhiuKhm);

		JPanel panel_4 = new JPanel();
		panel_1.add(panel_4, BorderLayout.CENTER);
		panel_4.setLayout(null);

		JLabel lblDanhSchDch = new JLabel("Chi ti\u1EBFt b\u1EC7nh \u00E1n");
		lblDanhSchDch.setBounds(10, 39, 124, 14);
		panel_4.add(lblDanhSchDch);

		JScrollPane scrollPane = new JScrollPane();
		scrollPane.setBounds(10, 64, 573, 356);
		panel_4.add(scrollPane);

		this.table = new JTable();
		scrollPane.setViewportView(this.table);

		JButton button_1 = new JButton("Th\u00EAm m\u1EDBi");
		button_1.setIcon(new ImageIcon(DlgCapNhatPhieuKham.class
				.getResource("/com/pkdl/resources/81.png")));
		button_1.setBounds(372, 30, 112, 23);
		panel_4.add(button_1);

		JButton button_2 = new JButton("X\u00F3a");
		button_2.setIcon(new ImageIcon(DlgCapNhatPhieuKham.class
				.getResource("/com/pkdl/resources/001_29.png")));
		button_2.setBounds(494, 30, 89, 23);
		panel_4.add(button_2);

		JButton btnLpPhiu = new JButton("L\u01B0u");
		btnLpPhiu.setIcon(new ImageIcon(DlgCapNhatPhieuKham.class
				.getResource("/com/pkdl/resources/45.png")));
		btnLpPhiu.setBounds(471, 441, 112, 23);
		panel_4.add(btnLpPhiu);
	}
}
